package chapter.job6;

public class Parrot extends Pet {
    public Parrot(String name, String weight, int power) {
        this.name = name;
        this.weight = weight;
        this.power = power;
    }
    public void yengwu(){
        System.out.println("鹦鹉有飞行");
    }
}
